package com.tywj.lib.location.entity

/**
 * <pre>
 *     author : June Yang
 *     time   : 2020/5/14
 *     desc   : 位置信息
 *     version: 1.0.0
 * </pre>
 */
class LocationEntity {
    // 纬度信息
    var latitude: Double = 0.0

    // 经度信息
    var longitude: Double = 0.0

    // 国家
    var country: String = ""

    // 国家码
    var countryCode: String = ""

    // 省份
    var province: String = ""

    // 城市
    var city: String = ""

    // 城市码
    var cityCode: String = ""

    // 区县
    var district: String = ""

    // 街道
    var street: String = ""

    // 街道码
    var streetNumber: String = ""

    // 地址信息
    var address: String = ""

    override fun toString(): String {
        return "LocationEntity(latitude=$latitude, longitude=$longitude, country='$country', countryCode='$countryCode', province='$province', city='$city', cityCode='$cityCode', district='$district', street='$street', streetNumber='$streetNumber', address='$address')"
    }
}